<% if @decorates.size > 0%>
<table>
<tr>
  <th>Name</th>
  <th>Using Document</th>
</tr>
<% for decorate in @decorates %>
<tr>
  <td><%= link_to decorate.name, :action => :edit, :id => decorate.id -%></td>
  <td><%=decorate.documents.size-%></td>
</tr>
<% end %>
<% end %>
